Learn R Programming

Directional (version 4.0)

Read a file as a Filebacked Big Matrix: Read a file as a Filebacked Big Matrix

Description

Read a file as a Filebacked Big Matrix.

Usage

read.fbm(file, select)

Arguments

file

The File to read.

select

Indices of columns to read (sorted). The length of select will be the number of columns of the resulting FBM.

Value

A Filebacked Big Matrix object.

Details

The functions read a file as a Filebacked Big Matrix object. For more information see the "bigstatsr" package.

See Also

vmf, kent.mle

Examples

Run this code
# NOT RUN {
dataset <- matrix( runif(100 * 50, 1, 100), ncol = 50 )
write.csv(dataset, "dataset.csv")
a <- read.fbm("dataset.csv", select = 1:50)
# }

Run the code above in your browser using DataLab